<div class="aktualnosci grid_7 alpha">	
	<div class="head grid_7 alpha omega"><h2><?php echo __d('frontend','Aktualności',true)?></h2></div>
	
	<?php foreach ($aktualnosci_najnowsze as $news) { ?>
	<div class="aktualnosc grid_7 alpha omega">
		<div class="image">
			<div class="date">
				<span><?php echo $this->Time->format('d.m.Y',$news['Article']['modified'])?></span>
			</div>
			<?php 
				if(!empty($news['Upload']['name'])){
// 					echo $this->Html->image('/files/upload/images/'.$news['Upload']['name'],array('alt'=>h($news['Article']['name'])));
					echo $this->Html->image($this->FileUpload->image($news['Upload']['name'],array('width'=>350,'imagePathOnly'=>true)),array('alt'=>h($news['Article']['name'])));
				}else{
					echo $this->Html->image('no-image.png',array('alt'=>h($news['Article']['name'])));
				}
			?>
		</div>
		<h3 class="naglowek"><?php echo h($news['Article']['name'])?></h3>
		<p><?php echo $news['Article']['list_content']?></p>
		<?php echo $this->Html->link(__d('frontend','wiecej +',true),array('plugin'=>false,'controller'=>'a','action'=>$news['Article']['slug']),array('class'=>'more','title'=>h($news['Article']['name']),'escape'=>false))?>		
	</div>
	<?php }?>
	
</div>
